package com.zx.mapper;

import com.zx.bean.Post;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PostMapper {

    //添加
    public abstract int addPost(Post post);
    //删除岗位
    public abstract int delPost(int id);
    //修改岗位
    public abstract Post updatePost(int id);
    //查询单个岗位
    public abstract Post findOnePost(int id);
    //查询全部岗位信息
    public abstract List<Post> findAllPost();
}
